<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="http://g.tbcdn.cn/mtb/lib-flexible/0.3.4/??flexible_css.js,flexible.js"></script>
</head>
<body>
    <script>
        var layOutWidth=window.innerHeight;
        var deviceWidth=window.screen.width;
        console.log(layOutWidth);
        console.log(deviceWidth);
    </script>
</body>
</html>